package net.cloudsun.graph.puzzle;

import net.cloudsun.graph.core.UnweightedEdge;

/**
 * puzzle edge
 * created at 25/11/2021
 *
 * @author 俞建波
 * <a href="mailto://yujianbo@chtwm.com">yujianbo@chtwm.com</a>
 * @since 1.2.0
 */
public class PuzzleEdge extends UnweightedEdge {
    private PuzzleDirection direction;
    public PuzzleEdge(int from, int to) {
        super(from, to);
    }

    public PuzzleDirection getDirection() {
        return direction;
    }

    public void setDirection(PuzzleDirection direction) {
        this.direction = direction;
    }
}
